﻿Public Class MainMasterPage
    Inherits System.Web.UI.MasterPage


    Public Property ImageResults As List(Of ImageEnumType)
    Public Property Dates As String
    Public Property Rayon As String
    Public Property PgString As String
    Public Property StVoString As String

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dates = Me.Datum.Text
        Rayon = Me.TextBox1.Text
        PgString = Me.TextBox2.Text
        StVoString = Me.TextBox3.Text
    End Sub

    Protected Sub search_Click(sender As Object, e As EventArgs)
        'Dim xx = enumImages(Me.Datum.Text)
        'For Each a In xx
        '    Response.Write(a.Name)
        'Next
        'ImageResults = xx
        ''DataLists1.Enabled = True
        ''DataLists1.DataSource = xx
        ''DataLists1.DataBind()
    End Sub

    Private Sub Datum_TextChanged(sender As Object, e As System.EventArgs) Handles Datum.TextChanged
        Me.Dates = Datum.Text
    End Sub

    Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
        Me.Rayon = TextBox1.Text

    End Sub

    Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
        Me.PgString = Me.TextBox2.Text
    End Sub

    Private Sub TextBox3_TextChanged(sender As Object, e As EventArgs) Handles TextBox3.TextChanged
        Me.StVoString = Me.TextBox3.Text
    End Sub
End Class